/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.jhelper.unit05.demo;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author 彭文联
 */
public class Caozuo {
    public static void main(String[] args) throws IOException {
        InputStreamReader in2 = new InputStreamReader(System.in);
        BufferedReader in3 = new BufferedReader(in2);
        
        System.out.print("请输入第一个数；");
        float a1 =Float.parseFloat(in3.readLine());
         System.out.println();
         System.out.print("请输入第二个数；");
        float a2 =Float.parseFloat(in3.readLine());
         System.out.println();
         System.out.print("请输入第三个数；");
        float a3 =Float.parseFloat(in3.readLine());
        System.out.println();
        System.out.print("这三个数的和是：");
        System.out.print(a1+a2+a3);
    }

}
